﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace NFit.Core.Config.Xml
{
    /// <summary>
    /// Section group for use in app.config files
    /// </summary>
    public class NFitLoaderSection : ConfigurationSection
    {
        /// <summary>
        /// List of data sources
        /// </summary>
        [ConfigurationProperty("datasources")]
        public DatasourcesElementCollection Datasources
        {
            get { return (DatasourcesElementCollection)base["datasources"]; }
        }

        /// <summary>
        /// List of fixture assembly
        /// </summary>
        [ConfigurationProperty("fixturecatalog")]
        public FixtureCatalogElementCollection FixtureCatalog
        {
            get { return (FixtureCatalogElementCollection)base["fixturecatalog"]; }
        }

        /// <summary>
        /// List of fixture assembly
        /// </summary>
        [ConfigurationProperty("reportwriters")]
        public ReportWriterElementCollection ReportWriters
        {
            get
            {
                return (ReportWriterElementCollection)base["reportwriters"];
            }
        }
    }
}
